package com.deram.ctin.serv.business.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

@ApiModel(description = "被执行人信息")
public class BusinessEnforcement implements Serializable {

    @ApiModelProperty(value = "ID")
    private Long id;
    @ApiModelProperty(value = "立案时间")
    private Date registerDate;
    @ApiModelProperty(value = "案号")
    private String referenceNumber;
    @ApiModelProperty(value = "执行标的")
    private String payment;
    @ApiModelProperty(value = "执行法院")
    private String court;
    @ApiModelProperty(value = "企业ID")
    private Long enterId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getRegisterDate() {
        return registerDate;
    }

    public void setRegisterDate(Date registerDate) {
        this.registerDate = registerDate;
    }

    public String getReferenceNumber() {
        return referenceNumber;
    }

    public void setReferenceNumber(String referenceNumber) {
        this.referenceNumber = referenceNumber == null ? null : referenceNumber.trim();
    }

    public String getPayment() {
        return payment;
    }

    public void setPayment(String payment) {
        this.payment = payment == null ? null : payment.trim();
    }

    public String getCourt() {
        return court;
    }

    public void setCourt(String court) {
        this.court = court == null ? null : court.trim();
    }

    public Long getEnterId() {
        return enterId;
    }

    public void setEnterId(Long enterId) {
        this.enterId = enterId;
    }

    @Override
    public String toString() {
        return "BusinessEnforcement{" +
                "id=" + id +
                ", registerDate=" + registerDate +
                ", referenceNumber='" + referenceNumber + '\'' +
                ", payment='" + payment + '\'' +
                ", court='" + court + '\'' +
                ", enterId=" + enterId +
                '}';
    }
}